<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>
		为设备添加用户
	</title>
    <script type="text/javascript">
        user_list = {{ user_list|safe }};
    </script>
	<script src="../../static/js/jquery.js"></script>
    <script src="../../static/js/proj-function.js"></script>
    <script src="../../static/js/assign_device.js"></script>
    <link rel="stylesheet" type="text/css" href="../../static/css/all-set.css">
</head>
<body>
<div style="visibility: hidden; height:0px;">
	<input type="text" name="input_deviceID">	
	<button id="button_serach_device">搜索设备</button>
	<br>
</div>
<div class="public_body">
	<div class="public_table">
        <table id="table_user_list">
            <thead>
                <th>用户编号</th>
                <th>用户名</th>
                <th>全选<input type="checkbox" id="table_user_list_select_all" onclick="onSelectAllCheckBox()"></th>
            </thead>
            <tr>
                <td>1</td>
                <td>张三</td>
                <td><input type="checkbox" class="table_user_list_select"></td>
            </tr>
            <tr>
                <td>2</td>
                <td>王二</td>
                <td><input type="checkbox" class="table_user_list_select"></td>
            </tr>
            <tr>
                <td>3</td>
                <td>李四</td>
                <td><input type="checkbox" class="table_user_list_select"></td>
            </tr>
            </tr>
        </table>
        <div class="bottom">
            <button id="button_user_list_save" onclick="onSetDeviceUsers()">保存</button>
            <button onclick="javascript:history.back(-1);">取消</button>
        </div>
    </div>
</div>
</body>
</html> 